package com.example.stuSysbackend.mapper;

import com.example.stuSysbackend.domain.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
* @author Cool
* @description 针对表【user(用户表)】的数据库操作Mapper
* @createDate 2024-04-16 16:55:12
* @Entity generator.domain.User
*/
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from user where id = #{id}")
    User findUserById(Long id);
}




